<?php
/*
 * Creative Bulletin Board Generation 3
 * Version 1.0 Beta 1
 +------------------------------------
 * Forum Application Models: Boards
 * Started: October 27, 2009 7:26 PM
 * Script version: 1.0
 */
class boards{
	public function createBoard($name, $description, $permissionMask){
		return true; # stub
	}
	
	public function select_all(){
		global $_CF;
		if(!isset($this->selectAll)){
			$this->selectAll = $_CF->db->select("boards", "*", 0, " ORDER BY `order` ASC");
		}
		return $this->selectAll;
	}
}
